﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace CrclzChat.Areas.Identity.Data
{
	public class Channel
	{
		[Key]
		[Required]
		[DatabaseGenerated(DatabaseGeneratedOption.None)]
		public Guid ChannelId { get; set; }

		[Required]
		public Guid FloorId { get; set; }

		// Navigation Properties
		public Floor Floor { get; set; }

		public IEnumerable<ChannelMessage> ChannelMessages { get; set; }
	}
}
